<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<style type="text/css">
input {
	margin-bottom: 5px;
	margin-top: 5px;
}
</style>
<script type="text/javascript">
	function fun(){
		var name = $("#name").val();
		var master = $("#master").val();
		$("#ddd").load("${pageContext.request.contextPath}/addclass?name="+name+"&master="+master);
		$('#id2').dialog('close');
	}
</script>
<div style="text-align: right; width: 240px;">
班级名称：<input type="text" id="name"><br/>
班主任：<input type="text" id="master"><br/>
<button type="button" onclick="fun()" class="btn btn-primary btn-sm btn-lg bbb">确定</button>
<button type="reset" style="margin-right: 40px; margin-left: 10px;" class="btn btn-primary btn-sm btn-lg bbb">重置</button>
</div>
